Class MigrateStatus

Summary

Fully Qualified Name: CodeIgniter\Commands\Database\MigrateStatus
Extends: BaseCommand

Description

Displays a list of all migrations and whether they've been run or not.

Methods

Name Description Defined By
__construct() BaseCommand constructor. BaseCommand
__get() Makes it simple to access our protected properties. BaseCommand
__isset() Makes it simple to check our protected properties. BaseCommand
getPad() Get pad for $key => $value array output BaseCommand
run() Displays a list of all migrations and whether they've been run or not. MigrateStatus
showHelp() show Help include (usage,arguments,description,options) BaseCommand

Method Details

__construct()

BaseCommand constructor.

Parameter Name Type Description
$logger \Psr\Log\LoggerInterface
$commands \CodeIgniter\CLI\CommandRunner

Returns:

__get()

Makes it simple to access our protected properties.

Parameter Name Type Description
$key string

Returns: mixed

__isset()

Makes it simple to check our protected properties.

Parameter Name Type Description
$key string

Returns: bool

getPad()

Get pad for $key => $value array output

Parameter Name Type Description
$array array
$pad int

Returns: int

run()

Displays a list of all migrations and whether they've been run or not.

Parameter Name Type Description
$params array

Returns:

showHelp()

show Help include (usage,arguments,description,options)

Returns:

Top